package com.tdr.comicbook.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import com.tdr.comicbook.model.LinkableEntry;
/**
 * Created by lemingdeng on 2014-06-26.
 */
public class MyBooksDataSource {
    //Database fields
    private SQLiteDatabase database;
    private MySQLiteHelper dbHelper;

    public MyBooksDataSource(Context context) {dbHelper = MySQLiteHelper.getInstance(context);}

    public void open() { database = dbHelper.getWritableDatabase();}

    public void close() { dbHelper.close(); }

}
